<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<fmt:setBundle basename="com.ssi.mrms.language.room.room_label" />

<script type="text/javascript" src="../js/controller/room/RM003.js" ></script>

<div id="container">
	<div id="content">
		<div class="warpper">
			<table class="from" cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
				<tr>
					<td colspan="9" class="header2" style="border-bottom: 1px #bbb solid;">Criteria</td>
				</tr>
			</table>
			<table class="from" cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
				<tr>
					<td class="header">Tower</td>
					<td><select id="tower">
					</select></td>

					<td class="header">Floor</td>
					<td><select id="floor"></select></td>

					<td class="header">Unit</td>
					<td><select id="unit"></select></td>

					<td class="header">Address</td>
					<td><select id="address"></select></td>
				</tr>
				<tr>
					<td class="header">Document No. </td>
					<td><input id="docNo" placeholder="Document No."  type="text"  ></td>
					
					<td class="header">Status</td>
					<td><select id="status"></select></td>
					
					<td class="header">Type</td>
					<td><input id="type" placeholder="Type"  type="text"  ></td>
					
					<td class="header">Date </td>
					<td><input id="comDate" placeholder="Date"  type="text"  ></td>
					
				</tr>
				
				
			</table>
			<center>
				<table>
					<tr  align="right" >
                    	<button type="submit" class="btn btn-info btn-default" ><i class="fa fa-search"></i> Search</button>
					</tr>
					<tr >&nbsp</tr>
					<tr align="left">
						<button type="reset" id="btnClear"  class="btn btn-info btn-default" ><i class="fa fa-refresh"></i> Clear</button>
					</tr>
					
				</table>
			</center>
			
			<table class="from" cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
				<tr>
					<td colspan="9" class="header2" style="border-bottom: 1px #bbb solid;">Detail</td>
				</tr> 
				<tr>
					<td colspan="9">
						<button type="button" class="btn btn-success" onclick="location='RM003A'"><i class="fa fa-plus"></i>&nbsp;&nbsp;New</button>
					</td>
				</tr>
			</table>
			
			<div style="width: 100%;">
				<table id="dataTable" cellpadding="3" cellspacing="0" border="0" class="display dataTable no-footer">
					<thead >
						<tr>
							
							<th style="text-align: center;"> </th>
							<th style="text-align: center;">Document No. </th>
							<th style="text-align: center;">Status </th>
							<th style="text-align: center;">Date </th>
							<th style="text-align: center;">Type </th>
							<th style="text-align: center;">Tower </th>
							<th style="text-align: center;">Floor </th>
							<th style="text-align: center;">Unit </th>
							<th style="text-align: center;">Address </th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td class=" center"><button title="Edit" type="button"
									class="btn btn-warning  btn-grid"
									onclick="USR001.editByUserName('admin')">
									<i class="fa fa-nontext fa-edit"></i>
								</button>&nbsp;
								<button title="Delete" type="button"
									class="btn btn-danger  btn-grid"
									onclick="USR001.onUserDelete('admin')">
									<i class="fa fa-nontext fa-trash-o"></i>
								</button></td>

							<td><center>01</center></td>
							<td><center>Active</center></td>
							<td><center>26/04/2014</center></td>
							<td><center>1</center></td>
							<td><center>01</center></td>
							<td><center>2</center></td>
							<td><center>301</center></td>
							<td>147 หมู่ 9 ต.จอมพระ อ.ท่าวังผา จ.น่าน 55140</td>
						</tr>
						<tr>												<td class=" center"><button title="Edit" type="button" class="btn btn-warning  btn-grid" onclick="USR001.editByUserName('admin')"><i class="fa fa-nontext fa-edit"></i></button>&nbsp;<button title="Delete" type="button" class="btn btn-danger  btn-grid" onclick="USR001.onUserDelete('admin')"><i class="fa fa-nontext fa-trash-o"></i></button></td>
						
							<td><center>02</center></td>
							<td><center>Active</center></td>
							<td><center>26/04/2014</center></td>
							<td><center>1</center></td>
							<td><center>01</center></td>
							<td><center>2</center></td>
							<td><center>301</center></td>
							<td>147 หมู่ 9 ต.จอมพระ อ.ท่าวังผา จ.น่าน 55140</td>
						</tr>
						<tr>												<td class=" center"><button title="Edit" type="button" class="btn btn-warning  btn-grid" onclick="USR001.editByUserName('admin')"><i class="fa fa-nontext fa-edit"></i></button>&nbsp;<button title="Delete" type="button" class="btn btn-danger  btn-grid" onclick="USR001.onUserDelete('admin')"><i class="fa fa-nontext fa-trash-o"></i></button></td>
						
							<td><center>03</center></td>
							<td><center>Active</center></td>
							<td><center>26/04/2014</center></td>
							<td><center>1</center></td>
							<td><center>01</center></td>
							<td><center>2</center></td>
							<td><center>301</center></td>
							<td>147 หมู่ 9 ต.จอมพระ อ.ท่าวังผา จ.น่าน 55140</td>
						</tr>
						<tr>												<td class=" center"><button title="Edit" type="button" class="btn btn-warning  btn-grid" onclick="USR001.editByUserName('admin')"><i class="fa fa-nontext fa-edit"></i></button>&nbsp;<button title="Delete" type="button" class="btn btn-danger  btn-grid" onclick="USR001.onUserDelete('admin')"><i class="fa fa-nontext fa-trash-o"></i></button></td>
						
							<td><center>04</center></td>
							<td><center>Active</center></td>
							<td><center>26/04/2014</center></td>
							<td><center>1</center></td>
							<td><center>01</center></td>
							<td><center>2</center></td>
							<td><center>301</center></td>
							<td>147 หมู่ 9 ต.จอมพระ อ.ท่าวังผา จ.น่าน 55140</td>
						</tr>
						
					</tbody>
				</table>
			</div>
			
		</div>
	</div>
</div>
